<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: CCefApp类 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="../../d6/dfa/class_c_cef_app-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">CCefApp类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>使用libcef作为网页处理器。使用wxApp作为APP管理类。将这两个综合起来  
 <a href="#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../dd/d8b/ccefapp_8hpp_source.html">ccefapp.hpp</a>&gt;</code></p>
<div class="dynheader">
类 CCefApp 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dd/d4d/class_c_cef_app__inherit__graph.png" border="0" usemap="#a_c_cef_app_inherit__map" alt="Inheritance graph"/></div>
<map name="a_c_cef_app_inherit__map" id="a_c_cef_app_inherit__map">
<area shape="rect" title="使用libcef作为网页处理器。使用wxApp作为APP管理类。将这两个综合起来" alt="" coords="5,123,287,581"/>
<area shape="rect" title=" " alt="" coords="48,5,105,75"/>
<area shape="poly" title=" " alt="" coords="90,89,98,122,92,124,85,90"/>
<area shape="rect" title=" " alt="" coords="129,5,304,75"/>
<area shape="poly" title=" " alt="" coords="208,90,201,124,195,122,203,89"/>
</map>
</div>
<div class="dynheader">
CCefApp 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../de/d1e/class_c_cef_app__coll__graph.png" border="0" usemap="#a_c_cef_app_coll__map" alt="Collaboration graph"/></div>
<map name="a_c_cef_app_coll__map" id="a_c_cef_app_coll__map">
<area shape="rect" title="使用libcef作为网页处理器。使用wxApp作为APP管理类。将这两个综合起来" alt="" coords="5,123,287,581"/>
<area shape="rect" title=" " alt="" coords="48,5,105,75"/>
<area shape="poly" title=" " alt="" coords="90,89,98,122,92,124,85,90"/>
<area shape="rect" title=" " alt="" coords="129,5,304,75"/>
<area shape="poly" title=" " alt="" coords="208,90,201,124,195,122,203,89"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a1a74353e9f6c54619214300df161aede" id="r_a1a74353e9f6c54619214300df161aede"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1a74353e9f6c54619214300df161aede">CCefApp</a> ()</td></tr>
<tr class="separator:a1a74353e9f6c54619214300df161aede"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6bd94a88c31541108b5158f8d73fa8d" id="r_ab6bd94a88c31541108b5158f8d73fa8d"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab6bd94a88c31541108b5158f8d73fa8d">~CCefApp</a> ()</td></tr>
<tr class="separator:ab6bd94a88c31541108b5158f8d73fa8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26de345aa6ae8c936c87d88efca1730c" id="r_a26de345aa6ae8c936c87d88efca1730c"><td class="memItemLeft" align="right" valign="top">virtual CefRefPtr&lt; CefBrowserProcessHandler &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a26de345aa6ae8c936c87d88efca1730c">GetBrowserProcessHandler</a> () override</td></tr>
<tr class="separator:a26de345aa6ae8c936c87d88efca1730c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4288ca186da03dce6718cf3added13c3" id="r_a4288ca186da03dce6718cf3added13c3"><td class="memItemLeft" align="right" valign="top">virtual CefRefPtr&lt; CefRenderProcessHandler &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4288ca186da03dce6718cf3added13c3">GetRenderProcessHandler</a> () override</td></tr>
<tr class="separator:a4288ca186da03dce6718cf3added13c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a453f98e9252fc7d7272360ae8bad68fa" id="r_a453f98e9252fc7d7272360ae8bad68fa"><td class="memItemLeft" align="right" valign="top">virtual CefRefPtr&lt; CefResourceBundleHandler &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a453f98e9252fc7d7272360ae8bad68fa">GetResourceBundleHandler</a> () override</td></tr>
<tr class="separator:a453f98e9252fc7d7272360ae8bad68fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a350c6a78d277e8e3efbab19bce0ba020" id="r_a350c6a78d277e8e3efbab19bce0ba020"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a350c6a78d277e8e3efbab19bce0ba020">OnBeforeCommandLineProcessing</a> (const CefString &amp;process_type, CefRefPtr&lt; CefCommandLine &gt; command_line) override</td></tr>
<tr class="separator:a350c6a78d277e8e3efbab19bce0ba020"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a668621d03d967c8373dd4183e06df081" id="r_a668621d03d967c8373dd4183e06df081"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a668621d03d967c8373dd4183e06df081">OnRegisterCustomSchemes</a> (CefRawPtr&lt; CefSchemeRegistrar &gt; registrar) override</td></tr>
<tr class="separator:a668621d03d967c8373dd4183e06df081"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab772a1439e3d273e289c730a47c322db" id="r_ab772a1439e3d273e289c730a47c322db"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab772a1439e3d273e289c730a47c322db">OnContextInitialized</a> () override</td></tr>
<tr class="separator:ab772a1439e3d273e289c730a47c322db"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>使用libcef作为网页处理器。使用wxApp作为APP管理类。将这两个综合起来 </p>
<dl class="section version"><dt>版本</dt><dd>1.1 </dd></dl>
<dl class="section date"><dt>日期</dt><dd>2018-7-23 ~ 2020-11-20 </dd></dl>
<dl class="section author"><dt>作者</dt><dd>宋炜 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../dd/d8b/ccefapp_8hpp_source.html">ccefapp.hpp</a> 第 <a class="el" href="../../dd/d8b/ccefapp_8hpp_source.html#l00011">11</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a1a74353e9f6c54619214300df161aede" name="a1a74353e9f6c54619214300df161aede"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a74353e9f6c54619214300df161aede">&#9670;&#160;</a></span>CCefApp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CCefApp::CCefApp </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/db4/ccefapp_8cpp_source.html">ccefapp.cpp</a> 第 <a class="el" href="../../d7/db4/ccefapp_8cpp_source.html#l00004">4</a> 行定义.</p>

</div>
</div>
<a id="ab6bd94a88c31541108b5158f8d73fa8d" name="ab6bd94a88c31541108b5158f8d73fa8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6bd94a88c31541108b5158f8d73fa8d">&#9670;&#160;</a></span>~CCefApp()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CCefApp::~CCefApp </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/db4/ccefapp_8cpp_source.html">ccefapp.cpp</a> 第 <a class="el" href="../../d7/db4/ccefapp_8cpp_source.html#l00010">10</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a26de345aa6ae8c936c87d88efca1730c" name="a26de345aa6ae8c936c87d88efca1730c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26de345aa6ae8c936c87d88efca1730c">&#9670;&#160;</a></span>GetBrowserProcessHandler()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CefRefPtr&lt; CefBrowserProcessHandler &gt; CCefApp::GetBrowserProcessHandler </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>返回</dt><dd></dd></dl>

<p class="definition">在文件 <a class="el" href="../../d7/db4/ccefapp_8cpp_source.html">ccefapp.cpp</a> 第 <a class="el" href="../../d7/db4/ccefapp_8cpp_source.html#l00016">16</a> 行定义.</p>

</div>
</div>
<a id="a4288ca186da03dce6718cf3added13c3" name="a4288ca186da03dce6718cf3added13c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4288ca186da03dce6718cf3added13c3">&#9670;&#160;</a></span>GetRenderProcessHandler()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CefRefPtr&lt; CefRenderProcessHandler &gt; CCefApp::GetRenderProcessHandler </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/db4/ccefapp_8cpp_source.html">ccefapp.cpp</a> 第 <a class="el" href="../../d7/db4/ccefapp_8cpp_source.html#l00021">21</a> 行定义.</p>

</div>
</div>
<a id="a453f98e9252fc7d7272360ae8bad68fa" name="a453f98e9252fc7d7272360ae8bad68fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a453f98e9252fc7d7272360ae8bad68fa">&#9670;&#160;</a></span>GetResourceBundleHandler()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CefRefPtr&lt; CefResourceBundleHandler &gt; CCefApp::GetResourceBundleHandler </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/db4/ccefapp_8cpp_source.html">ccefapp.cpp</a> 第 <a class="el" href="../../d7/db4/ccefapp_8cpp_source.html#l00026">26</a> 行定义.</p>

</div>
</div>
<a id="a350c6a78d277e8e3efbab19bce0ba020" name="a350c6a78d277e8e3efbab19bce0ba020"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a350c6a78d277e8e3efbab19bce0ba020">&#9670;&#160;</a></span>OnBeforeCommandLineProcessing()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CCefApp::OnBeforeCommandLineProcessing </td>
          <td>(</td>
          <td class="paramtype">const CefString &amp;</td>          <td class="paramname"><span class="paramname"><em>process_type</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CefRefPtr&lt; CefCommandLine &gt;</td>          <td class="paramname"><span class="paramname"><em>command_line</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/db4/ccefapp_8cpp_source.html">ccefapp.cpp</a> 第 <a class="el" href="../../d7/db4/ccefapp_8cpp_source.html#l00031">31</a> 行定义.</p>

</div>
</div>
<a id="ab772a1439e3d273e289c730a47c322db" name="ab772a1439e3d273e289c730a47c322db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab772a1439e3d273e289c730a47c322db">&#9670;&#160;</a></span>OnContextInitialized()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CCefApp::OnContextInitialized </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/db4/ccefapp_8cpp_source.html">ccefapp.cpp</a> 第 <a class="el" href="../../d7/db4/ccefapp_8cpp_source.html#l00044">44</a> 行定义.</p>

</div>
</div>
<a id="a668621d03d967c8373dd4183e06df081" name="a668621d03d967c8373dd4183e06df081"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a668621d03d967c8373dd4183e06df081">&#9670;&#160;</a></span>OnRegisterCustomSchemes()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CCefApp::OnRegisterCustomSchemes </td>
          <td>(</td>
          <td class="paramtype">CefRawPtr&lt; CefSchemeRegistrar &gt;</td>          <td class="paramname"><span class="paramname"><em>registrar</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/db4/ccefapp_8cpp_source.html">ccefapp.cpp</a> 第 <a class="el" href="../../d7/db4/ccefapp_8cpp_source.html#l00040">40</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/cefQT/<a class="el" href="../../dd/d8b/ccefapp_8hpp_source.html">ccefapp.hpp</a></li>
<li>src/cefQT/<a class="el" href="../../d7/db4/ccefapp_8cpp_source.html">ccefapp.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
